using System;
using System.Collections.Generic;
using System.Text;
using My.IdlConverter.Core;
using My.IdlConverter.Core.Types;

namespace My.IdlConverter.Com
{
    class ComSpecialParameter : Parameter
    {
        private string _parammeterString;
        private ParamAttribute _attribute = ParamAttribute.Unknown;

        public ComSpecialParameter(string parammeterString)
        {
            _parammeterString = parammeterString;
        }

        public ComSpecialParameter(IType type, string name)
            : base(type, name)
        {
        }

        public ComSpecialParameter(IType type, string name, string defaultValue)
            :base(type,name,defaultValue)
        {
        }

        public override string ToString()
        {
            return _parammeterString;
        }

        public override ParamAttribute Attribute
        {
            get { return _attribute; }
            set { _attribute = value; }
        }
    }
}
